package edu.spec.student.service.iface;

import edu.spec.student.model.lecture.Lecture;
import edu.spec.basic.model.enumeration.Status;
import org.madgecko.basic.model.Pager;

import java.util.List;
import java.util.Map;

public interface ILectureService {
    void add(Lecture l);
    void delete(Integer id);
    void update(Lecture l);
    Pager<Lecture> findByCon(Status status, String keyword);
    Map<String, List> listStudentLecture(Integer id);
    Lecture load(Integer id);
    void attend(Integer studentId, Integer lectureId);
    void toggleStatus(Integer id);
}
